import request from '@/utils/request'

export const createDict = data => request({
  url: '/api/dict/create',
  method: 'post',
  data
})
export const editDict= data => request({
  url: '/api/dict/edit',
  method: 'post',
  data
})
export const getPageDictList= data => request({
  url: '/api/dict/getPageDictList',
  method:'post',
  data
})
export const deleteDict= data => request({
  url: '/api/dict/delete',
  method:'post',
  data
})
export const getAllDict = () => request({
  url: '/api/dict/getAllDictList'
})
